import constant from '@/utils/constant'
import request from '@/utils/request'

/**
 * 查询缴费清单
 */
export function queryPayFeeList(data) {
	uni.showLoading({
		title:'加载中'
	})
	return request({
		url: constant.queryPayFeeList,
		method: 'GET',
		data
	})
}

/**
 * 查询充值记录
 */
export function queryToUpRecord(data) {
	uni.showLoading({
		title:'加载中'
	})
	return request({
		url: constant.topUpRecord,
		method: 'GET',
		data
	})
}

/**
 * 查询短信余额
 */
export function queryMailBalance(data) {
	uni.showLoading({
		title:'加载中'
	})
	return request({
		url: constant.queryMailBalance,
		method: 'GET',
		data
	})
}

/**
 * 查询账户余额
 */
export function queryFeeBalance(data) {
	uni.showLoading({
		title:'加载中'
	})
	return request({
		url: constant.queryFeeBalance,
		method: 'GET',
		data
	})
}

